<template>
    <div class="index-container">
      <appHerder>首页</appHerder>
      <router-link to="/auth/addRess"><div class="add" @click="getaddr">添加地址</div></router-link>
    </div>
</template>

<script>
import appHerder from '../components/appHeader';
    export default {
      name: "index",
      components: {
        appHerder,
      },
    }
</script>

<style scoped>
.index-container{
  width: 100vw;
  height: 100vh;
}
  .add{
    position: absolute;
    top: 40%;
    left: 5%;
    width: 90%;
    height: 1rem;
    text-align: center;
    background: deepskyblue;
    color: white;
    border-radius: .5rem;
    line-height: 1rem;
  }
</style>
